﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace snat.model
{
    public class EnronNodeFactory : NodeFactory
    {

        public BaseNode Instantiate(proxy.items.Entity e) {
            if (e.Name.Contains("enron")) return new BaseNode(e.ID, e.Name);
            else return null;
        }

    }
}
